//
//  YKCover.h
//  youkan
//
//  Created by mac mini on 16/2/24.
//  Copyright © 2016年 Honsintech. All rights reserved.
//

#import <UIKit/UIKit.h>
@class YKCover;
@protocol YKCoverDelegate <NSObject>
@optional
//!> （协议）点击蒙板时调用
-(void)coverDidClickCover:(YKCover*)cover;
@end

@interface YKCover : UIView
//!> 显示蒙板
+(instancetype)show;
//!> 设置浅灰色蒙板
@property (nonatomic,assign)BOOL dimBackground;
@property (nonatomic,weak)id<YKCoverDelegate>delegate;
@end
